<script type="text/javascript">
	var barDatas = ${resultDatas};
	var barColors = ${resultColors};
	document.getElementById("${chart.id}").innerHTML="";
	var barChart =  new dhtmlXChart({
		view:"${chart.type}",
		container:"${chart.id}",
	    value:"#data1#",
	    label:"#data1#",
		width:30,
		padding :{
			top:5
		},
		//color:"#d3d3d3",
		legend:{
			layout:"x",
			width: 75,
			align:"center",
			valign:top,
			marker:{
				type:"round",
				width:0,
				height:0
			},
			values:[{text:"<font size='5px' weight='bold'>${chart.title}</font>",color:"#ff9900"}] 
		},
		tooltip:{
			template:"#data1#"
		},
		xAxis:{
			template:"#data0#",
			color :"${chart.parameterMap.axisColor?default("#C6C6C6")}",
			title:"${chart.x.display}"
			//lines: true	
		},
		yAxis:{
			//start:-3,  
			//end:7,	
			//step:1,	
			//lines: true	
			color :"${chart.parameterMap.axisColor?default("#C6C6C6")}",
			title:"${chart.y.display}"
		},		
		origin:0,  
		gradient:true, 
		border:false
	});
	
	barChart.parse(barDatas,"jsarray");
</script>
